<%= error_messages_for 'activation' %>

<!--[form:activation]-->
<p><label for="activation_start">Start</label><br/>
<%= datetime_select 'activation', 'start'  %></p>

<p><label for="activation_end">End</label><br/>
<%= datetime_select 'activation', 'end'  %></p>

<p>
	<label for="activation_exam">Exam</label><br/>
	<select id="exams" name="exams">
	<%= options_from_collection_for_select Exam.find(:all, :conditions => 
																														['user_id = ?', 
																														session['user']]),
 																				 :id, :title, @selected_exam %>
	</select>
</p>

<p>
	<label for="activation_group">Group</label><br/>
	<select id="groups" name="groups">
	<%= options_from_collection_for_select Group.find(:all), :id, :name, @selected_group %>
	</select>
</p>
<!--[eoform:activation]-->

